package com.sztx.pay.center.dataaccess.domain;

import com.sztx.se.dataaccess.mysql.domain.BaseDO;

import java.util.Date;

@SuppressWarnings("serial")
public class OrderRefundDO extends BaseDO {
    /**
    * 退款记录ID
     */
    private String refundOrderId;

    /**
    * 订单系统原订单ID
     */
    private String srcOrderId;

    /**
    * 业务系统原订单ID
     */
    private String srcOutOrderId;

    /**
    * 退款用户内部ID
     */
    private String userId;

    /**
    * 退款用户账户ID
     */
    private String payerUserAct;

    /**
    * 退款金额
     */
    private Long refundAmount;

    /**
    * 退款手续费
     */
    private Long refundFee;

    /**
    * 实际金额
     */
    private Long payAmount;

    /**
    * 退款类型1:b2c交易退款
     */
    private Byte refundType;

    /**
    * 退款状态
     */
    private Byte orderStatus;

    /**
    * 退款关联账户ID
     */
    private String referUserId;

    /**
    * 渠道ID
     */
    private String payChannelId;

    /**
    * 银行编号
     */
    private String payBankId;

    /**
    * 退款时间
     */
    private Date addTime;

    /**
    * 更新时间
     */
    private Date updateTime;

    /**
    * 实际支付时间
     */
    private Date payTime;

    /**
    * 退款订单渠道，0网站，1手机等
     */
    private Byte refundChannel;

    /**
    * 内部状态，0正常，1作废
     */
    private Integer innerStatus;

    /**
    * 来源IP
     */
    private String sourceIp;

    /**
    * 前端回调通知URL
     */
    private String notifyUrl;

    /**
    * 后端回调返回URL
     */
    private String returnUrl;

    /**
    * 外部订单号
     */
    private String orderId;

    /**
    * 描述
     */
    private String descript;

    /**
    * 备注
     */
    private String remark;
    /**
     * 内部状态描述  
     */
    private String innerDesc;
	/**
     * 订单描述
     */
    private String orderDesc;
    
	
	/**
	 * 平台渠道id描述
	 */
	private String platChannelId;

	/*=============== 上面是退款交易记录表中的单表数据字段映射，下面则是连表所查的外部表字段映射*/
	
    /**
	 * 付款账号
	 * 
	 * 映射：gateway_channel.channel_account
	 */
	protected String payerUserId;
	
	private String businessType;
	
    public String getPlatChannelId() {
		return platChannelId;
	}


	public void setPlatChannelId(String platChannelId) {
		this.platChannelId = platChannelId;
	}


	public String getPayerUserId() {
		return payerUserId;
	}


	public void setPayerUserId(String payerUserId) {
		this.payerUserId = payerUserId;
	}


	public String getBusinessType() {
		return businessType;
	}


	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}


	/**
     * @return refund_order_id
     */
    public String getRefundOrderId() {
        return refundOrderId;
    }
    

    /**
     * @param refundOrderId
     */
    public void setRefundOrderId(String refundOrderId) {
        this.refundOrderId = refundOrderId;
    }

    /**
     * @return src_order_id
     */
    public String getSrcOrderId() {
        return srcOrderId;
    }

    /**
     * @param srcOrderId
     */
    public void setSrcOrderId(String srcOrderId) {
        this.srcOrderId = srcOrderId;
    }

    /**
     * @return src_out_order_id
     */
    public String getSrcOutOrderId() {
        return srcOutOrderId;
    }

    /**
     * @param srcOutOrderId
     */
    public void setSrcOutOrderId(String srcOutOrderId) {
        this.srcOutOrderId = srcOutOrderId;
    }

    /**
     * @return user_id
     */
    public String getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }


    /**
     * @return refund_amount
     */
    public Long getRefundAmount() {
        return refundAmount;
    }

    /**
     * @param refundAmount
     */
    public void setRefundAmount(Long refundAmount) {
        this.refundAmount = refundAmount;
    }

    /**
     * @return refund_fee
     */
    public Long getRefundFee() {
        return refundFee;
    }

    /**
     * @param refundFee
     */
    public void setRefundFee(Long refundFee) {
        this.refundFee = refundFee;
    }

    /**
     * @return pay_amount
     */
    public Long getPayAmount() {
        return payAmount;
    }

    /**
     * @param payAmount
     */
    public void setPayAmount(Long payAmount) {
        this.payAmount = payAmount;
    }

    /**
     * @return refund_type
     */
    public Byte getRefundType() {
        return refundType;
    }

    /**
     * @param refundType
     */
    public void setRefundType(Byte refundType) {
        this.refundType = refundType;
    }

   

    /**
     * @return refer_user_id
     */
    public String getReferUserId() {
        return referUserId;
    }

    /**
     * @param referUserId
     */
    public void setReferUserId(String referUserId) {
        this.referUserId = referUserId;
    }

    

    /**
     * @return add_time
     */
    public Date getAddTime() {
        return addTime;
    }

    /**
     * @param addTime
     */
    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    /**
     * @return update_time
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return pay_time
     */
    public Date getPayTime() {
        return payTime;
    }

    /**
     * @param payTime
     */
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    /**
     * @return refund_channel
     */
    public Byte getRefundChannel() {
        return refundChannel;
    }

    /**
     * @param refundChannel
     */
    public void setRefundChannel(Byte refundChannel) {
        this.refundChannel = refundChannel;
    }

    /**
     * @return inner_status
     */
    public Integer getInnerStatus() {
        return innerStatus;
    }

    /**
     * @param innerStatus
     */
    public void setInnerStatus(Integer innerStatus) {
        this.innerStatus = innerStatus;
    }

    /**
     * @return source_ip
     */
    public String getSourceIp() {
        return sourceIp;
    }

    /**
     * @param sourceIp
     */
    public void setSourceIp(String sourceIp) {
        this.sourceIp = sourceIp;
    }

    /**
     * @return notify_url
     */
    public String getNotifyUrl() {
        return notifyUrl;
    }

    /**
     * @param notifyUrl
     */
    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    /**
     * @return return_url
     */
    public String getReturnUrl() {
        return returnUrl;
    }

    /**
     * @param returnUrl
     */
    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    /**
     * @return order_id
     */
    public String getOrderId() {
        return orderId;
    }

    /**
     * @param orderId
     */
    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    /**
     * @return descript
     */
    public String getDescript() {
        return descript;
    }

    /**
     * @param descript
     */
    public void setDescript(String descript) {
        this.descript = descript;
    }

    /**
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }


	public String getPayerUserAct() {
		return payerUserAct;
	}


	public void setPayerUserAct(String payerUserAct) {
		this.payerUserAct = payerUserAct;
	}


	public Byte getOrderStatus() {
		return orderStatus;
	}


	public void setOrderStatus(Byte orderStatus) {
		this.orderStatus = orderStatus;
	}


	public String getPayChannelId() {
		return payChannelId;
	}


	public void setPayChannelId(String payChannelId) {
		this.payChannelId = payChannelId;
	}


	public String getPayBankId() {
		return payBankId;
	}


	public void setPayBankId(String payBankId) {
		this.payBankId = payBankId;
	}


	public String getInnerDesc() {
		return innerDesc;
	}


	public void setInnerDesc(String innerDesc) {
		this.innerDesc = innerDesc;
	}


	public String getOrderDesc() {
		return orderDesc;
	}


	public void setOrderDesc(String orderDesc) {
		this.orderDesc = orderDesc;
	}
    
    
    
}